package com.youlu.campus.activity.service;

import com.youlu.campus.activity.entity.ActivityLotteryConfigPrizeVo;
import com.youlu.campus.activity.entity.UserLotteryInfo;
import com.youlu.campus.activity.entity.UserLotteryInfoVo;
import com.youlu.campus.entity.UserPO;

/**
 * 用户抽奖信息
 *
 * @Description: UserLotteryInfoService
 * @Date 2025/7/31
 * @author: su
 */
public interface UserLotteryInfoService {

    /**
     * 获取用户 抽奖信息
     *
     * @param activityId
     * @param curUser
     * @return
     */
    UserLotteryInfoVo getUserLotteryInfo(String activityId, UserPO curUser);


    /**
     * 更新用户抽奖信息
     *
     * @param userLotteryInfo
     */
    UserLotteryInfo save(UserLotteryInfo userLotteryInfo);

    /**
     * 抽奖
     *
     * @param activityId
     * @param curUser
     * @return
     */
    ActivityLotteryConfigPrizeVo draw(String activityId, UserPO curUser);

}
